import request from '@/utils/request'

// 查询核销码明细信息列表
export function listVerificationDetail(query) {
  return request({
    url: '/ruoyi/verificationDetail/list',
    method: 'get',
    params: query
  })
}

// 查询核销码明细信息详细
export function getVerificationDetail(detailId) {
  return request({
    url: '/ruoyi/verificationDetail/' + detailId,
    method: 'get'
  })
}

// 新增核销码明细信息
export function addVerificationDetail(data) {
  return request({
    url: '/ruoyi/verificationDetail',
    method: 'post',
    data: data
  })
}

// 修改核销码明细信息
export function updateVerificationDetail(data) {
  return request({
    url: '/ruoyi/verificationDetail',
    method: 'put',
    data: data
  })
}

// 删除核销码明细信息
export function delVerificationDetail(detailId) {
  return request({
    url: '/ruoyi/verificationDetail/' + detailId,
    method: 'delete'
  })
}
